<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>{dede:var.uname/}的空间 — 留言板</title>
    <link rel="stylesheet" href="space/painting/css/style.css"/>
    <script type="text/javascript" src="space/painting/js/jquery.js"></script>
</head>
<body>
<div id="body">
    <!--headbar begin-->
    {dede:include filename="header.htm"/}
    <!-- end 头部 -->

    <div class="bk_7"></div>
    <!-- 主体 begin -->
    <div id="main">
        <!-- art_boxA begin -->
        <div class="art_boxA clearfix">
            <!-- art_boxA_l begin -->
            {dede:include filename="inc_left.htm"/}
            <!-- end art_boxA_l -->

            <!-- art_boxA_r begin -->
            <div class="art_boxA_r2">
                <div class="menu2">
                    <h2>
                        <div class="nLeft"><span class="ico"></span><span class="menutit">留言板</span></div>
                        <div class="nRight"></div>
                    </h2>
                </div>

                <div class="east">
                    <dl class="border">
                        <dt class="caption"><strong>留言信息</strong></dt>
                        <dd class="body pB10"> {dede:datalist}
                            <div class="allList pTB10 dashed">
                                <div class="img"> <a href="index.php?uid={dede:field.uname/}&action=infos" title="{dede:field.uname/}" target="_blank">
                                    <?php if($fields['face']==''){
	         $face=($fields['sex']=='女')? 'templets/images/dfgirl.png' : 'templets/images/dfboy.png';
            echo  '<img src="'.$face.'" width="50" height="50"/>';
                                    }else{
                                    echo  '<img src="'.$fields['face'].'" width="50" height="50" alt="'.$fields['uname'].'的头像" />';
                                    } ?> </a> </div>
                                <div class="txt">
                                    <p class="p1 mB5">
                                    <h5 class="fLeft"><a href='index.php?uid={dede:field.uname/}'>{dede:field.uname/}</a>：</h5>
                                    <?php
            	if($_vars['userid']==$cfg_ml->M_LoginID){
                                    echo "<span style='float:right'><a href='index.php?action=guestbookdel&aid=".$fields['aid']."&uid=".$_vars['userid']."&mid=".$fields['mid']."'>删除</a></span>";
                                    }
                                    ?>
                                    <span class="aGray fRight">{dede:field.dtime function="MyDate('Y-m-d H:i',@me)" /}</span>
                                    </p>
                                    <p class="p2 lh22 f14 aBlack clear">{dede:field.msg function="Text2Html(@me)" /}</p>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                            {/dede:datalist}
                            <div class="fRight mTB10 pd10">{dede:pagelist/}</div>
                            <div class="clearfix"></div>
                        </dd>
                    </dl>
                    <dl class="border mT10">
                        <dt class="caption"><strong>给我留言</strong></dt>
                        <dd class="body pB10">
                            <form action="index.php" name="form1" method="post" class="f14">
                                <input type="hidden" name="action" value="guestbooksave" />
                                <input type="hidden" name="uidnum" value="{dede:var.mid/}" />
                                <input type="hidden" name="uid" value="{dede:var.userid/}" />
                                <label>标题：</label>
                                <input name="title" type="text" id="title"   class="ip" style="width:250px;height:15px;" />
                                <textarea name="msg" id="msg" style="width:98%; height:120px;" class="clear mB10 text"></textarea>
                                <button class="fRight button mt10" type="submit">提交</button>
                                <label>昵称：</label>
                                <input name="uname" type="text" id="uname" value="<?php if(isset($cfg_ml->M_LoginID) && $cfg_ml->M_LoginID!='') echo $cfg_ml->M_LoginID; ?>" class="text" style="width:100px;" />
                                <label>验证码：</label>
                                <input name="vdcode" type="text" class="text" id="vdcode" style="width:50px;text-transform:uppercase;" />
                                <img src='../include/vdimgck.php' width='50' height='20' align="absmiddle" /><a href="resetpassword.php" class="mL10 mR5">找回密码</a><a href="../member/index_do.php?fmdo=user&dopost=regnew" title="注册">注册</a>
                            </form>
                            <p class="mp10 textCenter aGray">以上网友发言只代表其个人观点，不代表本站的观点或立场。</p>
                        </dd>
                    </dl>
                </div>
            </div>
            <!-- end art_boxA_r -->
        </div>
        <!-- end art_boxA -->
    </div>
    <!-- end 主体 -->
    <div class="bk_7"></div>

    <!-- 页脚 begin -->
    {dede:include filename="footer.htm"/}
    <!-- end 页脚 -->
</div>
</body>
</html>